<?php
class myacl{
	function __construct($acl,$role){
		$this->acl=$acl;
		$this->role=$role;
		}
	function allow($model,$action){
		if($this->acl->isAllowed($this->role,$model,$action)){
		return true;
		}		
	}
}